package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiBusiEsi;
import com.tjmc.tiomscore.model.TiBusiEsiExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiBusiEsiMapper extends TranPtnHwSuperMapper<TiBusiEsi> {
    long countByExample(TiBusiEsiExample example);

    int deleteByExample(TiBusiEsiExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiBusiEsi record);

    int insertSelective(TiBusiEsi record);

    List<TiBusiEsi> selectByExample(TiBusiEsiExample example);

    TiBusiEsi selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiBusiEsi record, @Param("example") TiBusiEsiExample example);

    int updateByExample(@Param("record") TiBusiEsi record, @Param("example") TiBusiEsiExample example);

    int updateByPrimaryKeySelective(TiBusiEsi record);

    int updateByPrimaryKey(TiBusiEsi record);
}